package com.xiaofengstu.mcams.web.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaofengstu.mcams.dto.UserDTO;
import com.xiaofengstu.mcams.web.entity.TUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaofengstu.mcams.web.mapper.TUserMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fengzeng
 * @since 2022-05-07
 */
public interface TUserService extends IService<TUser> {

  Page<UserDTO> getUserList(Integer page, Integer size);

  List<UserDTO> searchBy(String username, Integer campusId, Integer deptId);
}
